package org.jeecg.modules.communityDynamicManag.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ApiModel(value = "社团动态点赞添加类", description = "社团动态点赞添加类")
@TableName("js_club_dynamics_likes")
public class ClubDynamicsLikesEntity {
    /**表主键**/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
    /**评论用户ID**/
    @ApiModelProperty(value = "评论用户ID")
    private String userId;
    /**社团ID**/
    @ApiModelProperty(value = "社团ID")
    private String clubId;
    /**社团动态ID**/
    @ApiModelProperty(value = "社团动态ID")
    private String clubDynamicsId;
    /**创建人**/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期**/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人**/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期**/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门**/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
}
